# Set porject name

set(TargetName RigelMath)
string(TOUPPER ${TargetName} TargetNameUP)

# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(headers
Export.h
MEMath.h
Segment.h
)

set(sources
InputLib.cpp
MEMath.cpp
Segment.cpp
)


# add definitions,unicode and export
add_definitions(-DUNICODE -D_UNICODE -D${TargetNameUP})

# Set porject filiter
source_group("Header Files" FILES ${headers})

# Tell CMake to create the helloworld executable
add_library(${TargetName} SHARED ${sources} ${headers})

target_link_libraries(${TargetName})
